;; Warning, extra type option 🔼

Seems to be three of them each time.


internet search says that's a dig error message.

[code=shell]dig +keepopen +noall +nottlid +answer example.com A example.com AAAA example.com CNAME example.com SRV

dig +keepopen +noall +nottlid +answer example.com A example.com AAAA example.com CNAME SRV

;; Warning, extra type option[/code]

So that would mean that three of the hosts are blank, which is impossible.

[code=Lua]local dig = APT.readCmd('dig +keepopen +noall +nottlid +answer ' .. host .. ' A ' .. host .. ' AAAA ' .. host .. ' CNAME ' .. host .. ' SRV | sort -r | uniq')

[/code]

At least it doesn't cause crashies.


reported=2021-11-23 09:35:57

reporter=onefang

priority=none

category=Bug

severity=minor

resolution=fixed


2022-01-17 15:54:32 onefang: Aha, you get those three errors if ALL of the hosts are blank.

[code=shell]dig +keepopen +noall +nottlid +answer A AAAA CNAME SRV

;; Warning, extra type option

;; Warning, extra type option

;; Warning, extra type option

.   IN NS b.root-servers.net.

.   IN NS m.root-servers.net.

.   IN NS k.root-servers.net.

.   IN NS f.root-servers.net.

.   IN NS h.root-servers.net.

.   IN NS i.root-servers.net.

.   IN NS l.root-servers.net.

.   IN NS c.root-servers.net.

.   IN NS e.root-servers.net.

.   IN NS a.root-servers.net.

.   IN NS d.root-servers.net.

.   IN NS g.root-servers.net.

.   IN NS j.root-servers.net.[/code]

[code=shell]dig +keepopen +noall +nottlid +answer A AAAA CNAME SRV >/dev/null

;; Warning, extra type option

;; Warning, extra type option

;; Warning, extra type option

[/code]


2022-10-17 23:54:49 onefang: I fixed that long ago, but forgot to commit.  lol